n.onRequest((function(e) {
    var param, time, t, n = Object(K.s)("tokenNew"), r = e.headers.tokenNew || n, f = (new Date).getTime();
    e.data = e.data || {},
    r && (e.headers.token = r),
        e.headers.deviceType = "PC",
        // 时间戳  1762068546215
        e.headers.timestamp = f,
        e.headers.sign = (param = e.data,
            time = f,
            t = md(param),
            pd("ghaepVf6IhcHmgnk4NCTXLApxQkBcvh1", pd("mwMlWOdyM7OXbjzQPulT1ndRZIAjShDB", pd("ZuSj0gwgsKXP4fTEz55oAG2q2p1SVGKK", t, time), time), time)),
    e.loading && pi.Loading.service(o);
    var m = JSON.stringify(e.data)
        , _ = JSON.stringify(e.url);
    return m.includes("cancelHttp") || _.includes("cancelHttp") ? d = !1 : (h(e),
        e.cancelToken = new c((function(t) {
                l.push({
                    u: e.url + "&" + e.method,
                    f: t
                })
            }
        ))),
        e
}

md = function(e) {
    var t = gd(e)
        , n = "";
    for (var i in t) {
        var r = _d(e[t[i]]);
        null != r && "" != r.toString() && (n += t[i] + "=" + r + "&")
    }
    return n
}

gd = function(e) {
    var t = new Array
        , n = 0;
    for (var i in e)
        t[n] = i,
            n++;
    return t.sort()
}

pd = function(e, t, time) {
    var n = t + e + time;
    return n = fd()(n)
}

// fd（）（n）最终返回， e = "hex"
return new Md5(!0).update(t)[e]()

function Md5(e) {
    if (e)
        blocks[0] = blocks[16] = blocks[1] = blocks[2] = blocks[3] = blocks[4] = blocks[5] = blocks[6] = blocks[7] = blocks[8] = blocks[9] = blocks[10] = blocks[11] = blocks[12] = blocks[13] = blocks[14] = blocks[15] = 0,
        this.blocks = blocks,
        this.buffer8 = buffer8;
    else if (ARRAY_BUFFER) {
        var t = new ArrayBuffer(68);
        this.buffer8 = new Uint8Array(t),
        this.blocks = new Uint32Array(t)
    } else
        this.blocks = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
    this.h0 = this.h1 = this.h2 = this.h3 = this.start = this.bytes = this.hBytes = 0,
    this.finalized = this.hashed = !1,
    this.first = !0
}



Md5.prototype.update = function(e) {
    if (!this.finalized) {
        var t, n = typeof e;
        if ("string" !== n) {
            if ("object" !== n)
                throw ERROR;
            if (null === e)
                throw ERROR;
            if (ARRAY_BUFFER && e.constructor === ArrayBuffer)
                e = new Uint8Array(e);
            else if (!(Array.isArray(e) || ARRAY_BUFFER && ArrayBuffer.isView(e)))
                throw ERROR;
            t = !0
        }
        for (var code, i, r = 0, o = e.length, l = this.blocks, c = this.buffer8; r < o; ) {
            if (this.hashed && (this.hashed = !1,
            l[0] = l[16],
            l[16] = l[1] = l[2] = l[3] = l[4] = l[5] = l[6] = l[7] = l[8] = l[9] = l[10] = l[11] = l[12] = l[13] = l[14] = l[15] = 0),
            t)
                if (ARRAY_BUFFER)
                    for (i = this.start; r < o && i < 64; ++r)
                        c[i++] = e[r];
                else
                    for (i = this.start; r < o && i < 64; ++r)
                        l[i >> 2] |= e[r] << SHIFT[3 & i++];
            else if (ARRAY_BUFFER)
                for (i = this.start; r < o && i < 64; ++r)
                    (code = e.charCodeAt(r)) < 128 ? c[i++] = code : code < 2048 ? (c[i++] = 192 | code >> 6,
                    c[i++] = 128 | 63 & code) : code < 55296 || code >= 57344 ? (c[i++] = 224 | code >> 12,
                    c[i++] = 128 | code >> 6 & 63,
                    c[i++] = 128 | 63 & code) : (code = 65536 + ((1023 & code) << 10 | 1023 & e.charCodeAt(++r)),
                    c[i++] = 240 | code >> 18,
                    c[i++] = 128 | code >> 12 & 63,
                    c[i++] = 128 | code >> 6 & 63,
                    c[i++] = 128 | 63 & code);
            else
                for (i = this.start; r < o && i < 64; ++r)
                    (code = e.charCodeAt(r)) < 128 ? l[i >> 2] |= code << SHIFT[3 & i++] : code < 2048 ? (l[i >> 2] |= (192 | code >> 6) << SHIFT[3 & i++],
                    l[i >> 2] |= (128 | 63 & code) << SHIFT[3 & i++]) : code < 55296 || code >= 57344 ? (l[i >> 2] |= (224 | code >> 12) << SHIFT[3 & i++],
                    l[i >> 2] |= (128 | code >> 6 & 63) << SHIFT[3 & i++],
                    l[i >> 2] |= (128 | 63 & code) << SHIFT[3 & i++]) : (code = 65536 + ((1023 & code) << 10 | 1023 & e.charCodeAt(++r)),
                    l[i >> 2] |= (240 | code >> 18) << SHIFT[3 & i++],
                    l[i >> 2] |= (128 | code >> 12 & 63) << SHIFT[3 & i++],
                    l[i >> 2] |= (128 | code >> 6 & 63) << SHIFT[3 & i++],
                    l[i >> 2] |= (128 | 63 & code) << SHIFT[3 & i++]);
            this.lastByteIndex = i,
            this.bytes += i - this.start,
            i >= 64 ? (this.start = i - 64,
            this.hash(),
            this.hashed = !0) : this.start = i
        }
        return this.bytes > 4294967295 && (this.hBytes += this.bytes / 4294967296 << 0,
        this.bytes = this.bytes % 4294967296),
        this
    }
}